package com.atguigu.spzx.log.anno;

import com.atguigu.spzx.log.aspect.SpzxLogAspect;
import com.atguigu.spzx.log.service.Impl.SysOperLogServiceImpl;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.annotation.*;

/**
 * @author LT
 * @create 2024-03-20-20:17
 */

@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Import({SysOperLogServiceImpl.class , SpzxLogAspect.class})
@EnableAsync //开启异步
@Target({ElementType.TYPE})
public @interface EnableSpzxLog {
}
